﻿@{
    ViewBag.Title = "邮箱找回密码第三步";
    ViewBag.Page = "user";
    Layout = "~/Views/Shared/_FindPasswordLayout.cshtml";
ViewBag.Menu = "step3";
}

@section HeadJavaScript{
    <script type="text/javascript" src="/Scripts/angular/base/angular.min.js"></script>
    <!--[if (IE 6)|(IE 7)]><script type="text/javascript" src="/Scripts/angular/base/json2.js"></script><![endif]-->
    <script type="text/javascript" src="/Scripts/angular/js/getpassword.js"></script>
    <script type="text/javascript" src="/Scripts/angular/base/angular.autoload.js"></script>
}

<div class="pos"><img src="~/images/images/pay_dian.jpg" /> <a href="#">会员中心</a> - 取回密码账户</div>
<div class="form1" style="background:none;">        
    <p style="margin:50px auto 30px; text-align:center;"><img src="~/images/images/find_fs.jpg" /></p>
     @{
         if (false&&ViewData["email"] == null)
         {
            <form class="form1 st_form" action="step2.html">
                <ul>
                    <li class="pl178">
                        <img src="/images/icon01.jpg"/>该账号的邮箱未绑定，本次找回密码方式不可用
                    </li>
                    <li class="pb50">
						<span class="txtrStep">&nbsp;</span> &nbsp; <strong class="orange">&nbsp;</strong> 
						<input type="button" class="onext" value="返回"  onClick="location.href='/usercenter/step2@{if (@ViewData["code"] != null){<text>/@ViewData["code"]</text>}}'"  />
					</li>
                </ul>
            </form>
         }
         else
         {
	<form name="form" onsubmit="return false;" ng-controller="Ctrl" 
                    ng-init="load({
                        submit:{error:'系统异常，请联系我们',answer:'答案错误',newidentity:'服务器繁忙，请稍后再试',identity:'服务器繁忙，请稍后再试',resultsuccess:'邮件已经成功发送'}
                    });
                    submit.url='/account/PasswordMail/@ViewData["code"]';
                    redirect.url='/usercenter/login';
                    ">
            <p class="tishi1">将发送至认证邮箱 @ViewData["email"].ToString().Substring(0, 3)*********@ViewData["email"].ToString().Substring(@ViewData["email"].ToString().IndexOf('@')) 
                    <a ng-click="submit()"><img src="/images/images/send.jpg" /></a>
            </p>
            </form>
        }
    }
                
</div>

